package com.freemalll.merchant.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author songshixiong
 * @ClassName CorporateInfoDto
 * @description:
 * @date 2025年05月15日
 * @version: 1.0
 */
@Data
public class CorporateInfoDto {

    @Schema(description = "主键")
    private String legalId;

    @Schema(description = "商户id")
    private String merId;

    @Schema(description = "法人身份证正面地址")
    private String legalIdCardFront;

    @Schema(description = "法人身份证反面地址")
    private String legalIdCardBack;

    @Schema(description = "法人姓名")
    @NotBlank(message = "法人姓名不能为空")
    private String legalMan;

    @Schema(description = "民族")
    @NotBlank(message = "民族不能为空")
    private String nationality;

    @Schema(description = "身份证号")
    @NotBlank(message = "身份证号不能为空")
    private String legalManIdCard;

    @Schema(description = "法人身份证有效期起")
    @NotBlank(message = "法人身份证有效期起不能为空")
    private String legalValidateStart;

    @Schema(description = "法人身份证有效期止")
    @NotBlank(message = "法人身份证有效期止不能为空")
    private String legalValidateEnd;

    @Schema(description = "出生年月")
    @NotBlank(message = "出生年月不能为空")
    private String birthday;

    @Schema(description = "法人手机号")
    @NotBlank(message = "法人手机号不能为空")
    private String legalManPhone;

    @Schema(description = "所属省")
    private String legalManProvince;
    private String legalManProvinceName;


    @Schema(description = "所属市")
    private String legalManCity;
    private String legalManCityName;


    @Schema(description = "所属区")
    private String legalManCountry;
    private String legalManCountryName;


    @Schema(description = "详细地址")
    private String legalManAddress;
}
